package com.czx.mygithubclient;

import dagger.Module;
import dagger.Provides;

/**
 * TODO: Add a class header comment!
 */
@Module
public class SplashActivityModule {

    private SplashActivity splashActivity;

    public SplashActivityModule(SplashActivity splashActivity){
        this.splashActivity = splashActivity;
    }

    @Provides
    public SplashActivity provideSplashActivity(){
        return splashActivity;
    }

    @Provides

    public SplashActivityPresenter providerSplashActivityPresenter(){
        return new SplashActivityPresenter();
    }
}
